<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="{{$img_url}}index.css" type="text/css" rel="stylesheet" />
<script language="javascript" type="text/javascript" src="{{$js_url}}function.js"></script>
<div id="mainer">
<table class="table1"><tr>
<td align="left">正在查看 －{{$headline}} <i class="tips">{{$showtips}}</i></td>
<td align="right" width="200"><a href="{{$filename}}">添加链接</a> </td>
</tr></table>
<form method="post" action="" enctype="multipart/form-data">
{{if $Llinkid}}<input type="hidden" name="Llinkid" value="{{$Llinkid}}" />{{/if}}
<table class="table3">
<tr>
	<th width="100">链接类别：</th>
    <td colspan="3"><select name="Ltopicid">
    {{html_options options=$catalog selected=$Ltopicid}}
    </select></td>
</tr>
<tr>
	<th>链接名称：</th>
    <td colspan="3"><input class="input4" name="Lname" value="{{$Lname}}" />
    	<span class="redpad">{{$e_Lname}}</span>
    </td>
</tr>
<tr>
	<th>链接地址：</th>
    <td colspan="3"><input class="input6" name="Lurl" value="{{$Lurl}}" />
    	<span class="redpad">{{$e_Lurl}}</span>
    </td>
</tr>
<tr>
	<th>链接图片：</th>
    <td colspan="3"><input class="input5" type="file" name="imagefile" />
    	{{if $Lphoto}}<input type="checkbox" name="unsetValue[]" value="Lphoto" /> 删除图片{{/if}}
    </td>
</tr>
{{if $Lphoto}}
<input type="hidden" name="Lphoto" value="{{$Lphoto}}" />
<tr>
	<th>已有图片：</th>
    <td colspan="3"><div class="maskimg1"><a href="{{$Lphoto_show}}" target="_blank"><img src="{{$Lphoto_show}}" border="0" /></a></div></td>
</tr>
{{/if}}
<tr><th></th><td colspan="3">
	<input type="submit" value="提交" />
	<input type="button" value="返回" onclick="history.go(-1)" />
</td></tr>
</table>
</form>
{{include file="footer.html"}}
</div>